﻿using Configuration.ServerApi.Entity;
using System.Collections.Generic;

namespace Configuration.ServerApi.Param
{
    /// <summary>
    /// 更新参数Model
    /// </summary>
    public class UpdateModel
    {
        #region 字段参数

        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        /// 用户状态  0: 正常 1: 禁用
        /// </summary>
        public string Status { get; set; } = "0";

        /// <summary>
        /// 原始密码
        /// </summary>
        public string OldPassword { get; set; }

        /// <summary>
        /// 新密码
        /// </summary>
        public string NewPassword { get; set; }

        /// <summary>
        /// 多个菜单ID (使用英文逗号进行拼接)
        /// </summary>
        public string MenuIds { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        #endregion

        #region 实体参数

        /// <summary>
        /// 写入点位参数设置
        /// </summary>
        public List<SetValueModel> SetValueData { get; set; }

        /// <summary>
        /// 节点配置数据
        /// </summary>
        public List<NodeConfigModel> NodeConfigData { get; set; }

        /// <summary>
        /// 用户信息
        /// </summary>
        public sys_user UserData { get; set; }

        /// <summary>
        /// 角色信息
        /// </summary>
        public sys_role RoleData { get; set; }

        /// <summary>
        /// 菜单信息
        /// </summary>
        public sys_menu MenuData { get; set; }

        /// <summary>
        /// 实验记录信息
        /// </summary>
        public bis_experiment_record ExpRecordData { get; set; }

        /// <summary>
        /// 组态流程-组件分类信息
        /// </summary>
        public bis_flow_assembly_classify FlowAssemblyClassifyData { get; set; }

        /// <summary>
        /// 组态流程-组件配置信息
        /// </summary>
        public bis_flow_assembly_config FlowAssemblyConfigData { get; set; }

        /// <summary>
        /// 组态流程-组件属性配置信息
        /// </summary>
        public bis_flow_assembly_config_attribute FlowAssemblyConfigAttributeData { get; set; }

        /// <summary>
        /// 实验运行日志信息
        /// </summary>
        public bis_experiment_runlog ExpRunLogData { get; set; }

        /// <summary>
        /// 实验模板信息
        /// </summary>
        public bis_experiment_template ExpTemplateData { get; set; }

        /// <summary>
        /// 实验模板关联配置信息
        /// </summary>
        public bis_experiment_template_config ExpTemplateConfigData { get; set; }

        /// <summary>
        /// 实验流程配置表-节点配置
        /// </summary>
        public List<bis_expconfig_node> ExpConfigNodeData { get; set; }

        #endregion

    }
}
